package cn.iocoder.yudao.module.shop.controller.admin.order.vo;

import lombok.*;

import java.time.LocalDateTime;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 店内消耗订单创建 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ShopOrderCreateReqVO extends ShopOrderBaseVO {

    @Schema(description = "顾客id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "顾客id不能为空")
    private Long memberId;

    @Schema(description = "艾灸师id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "艾灸师id不能为空")
    private Long userId;

    @Schema(description = "项目id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "项目id不能为空")
    private Long shopItemId;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "数量不能为空")
    private Integer count;

    @Schema(description = "时间索引", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "时间索引不能为空")
    private Integer timeIndex;

    @Schema(description = "日期", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "日期能为空")
    private LocalDateTime dateTime;

    @Schema(description = "备注")
    private String comment;

    @Schema(description = "店铺id")
    @NotNull(message = "店铺id不能为空")
    private Long tenantId;
}
